# 值和身份的比较
# a = 10
# b = 10
# print(a == b)
# print(id(a) == id(b))

#字符串值和身份的比较
# str1 = 'abc'
# str2 = 'abc'
# print(str1 == str2)
# print(str1 is str2)

#数组
list1 = [1,2,3]
list2 = [1,2,3]
print(list1 == list2)
print(list1 is not list2)

